
//  业务逻辑层（处理数据）
//
// 项目小的话，所有的业务逻辑放在一个类里即可，如果项目大的，要在某一个模块里搞一个业务逻辑层

#import <Foundation/Foundation.h>
#import "NetWorkTool.h"
#import "QcDoctorsIfonModel.h"
#import "QcCaseChooseModel.h"


@interface NetWorkManager : NSObject

/** 单例 */
+(instancetype)sharedManager;




/** 请求天气 */
- (void)loadWeatherWithCurrentCity:(NSString *)currentCity
                      successBlock:(void(^)(NSDictionary *cityDic))successBlock
                        errorBlock:(void(^)(NSString *error))errorBlock;

/** 请求医生列表数据 */
- (void)loadDoctorsIfonWithParmas:(NSDictionary *)paramDic completeBlock:(void(^)(NSArray<QcDoctorsIfonModel *> *modelList,NSError *error))completeBlock errorBlock:(void(^)(NSString *error))errorBlock;



/** 关注医生的信息 */
- (void)loadAttentionDoctorListWithUserID:(NSNumber *)usersId pageSize:(NSInteger)pageSize page:(NSInteger)page completeBlock:(void(^)(NSArray<QcDoctorsIfonModel *> *modelList,NSError *error))completeBlock errorBlock:(void(^)(NSString *error))errorBlock;


/**
 *  肿瘤疾病选择疾病细分列表接口
 */
-(void)loadDiseaseSubWithCi_id:(int)ci_id
                          page:(int)page
                  successBlock:(void(^)(NSArray *caseArray))successBlock
                    errorBlock:(void(^)(NSString *error))errorBlock;

@end
